<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/reset.css">
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/weui.min.css">
    <link rel="stylesheet" type="text/css" href="<%=path%>/static/css/index.css">
    <script type="text/javascript" src="<%=path%>/static/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="<%=path%>/static/js/weui.min.js"></script>
    <script type="text/javascript" src="<%=path%>/static/js/bank-data.js"></script>
    <script type="text/javascript" src="<%=path%>/static/js/chooseBank.js"></script>
    <script src="<%=path%>/static/layer/layer.js"></script>
    <script src="<%=path%>/static/js/index.js"></script>
    <title>嘉华金融</title>
</head>
<body>
<div>
    <div class="header">
        <div><div class="back"></div></div>
        <div>银行卡</div>
        <div><!-- <div class="user-img"></div> --></div>
    </div>
    <div class="main">
        <div class="add-card-wrap">
            <div class="word">请绑定持卡人本人的银行卡</div>
            <div class="weui-cells weui-cells_form">
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">持卡人</label></div>
                    <div class="weui-cell__bd">
                       <p>${bUserInfo.name}</p>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input phone-number content" pl="请输入电话号码" value="${bUserInfo.phone}">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">卡号</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input bank-number content" pl="请输入银行卡号">
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">银行</label></div>
                        <label><input id='userResult' pl="请选择银行" class=" weui-input city left user-bank" code='' readonly ></label>
                            <div id="showPicker" class="right choose-city">
                                <div class="city-code1"></div>
                       </div>
                   </div>
              </div>
            <div class="error-content loan-error"></div>
            <div class="next-btn h-btn add-card-btn" href="card-information.html"><a>提交</a></div>
        </div>      
    </div>  
</div>
<script type="text/javascript">
var path = "<%=path%>";
$('.back').on('click', function () {
    window.location=path+"/member/bankCard.html";
});
</script>
</body>
</html>